<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<?php
			$array = array(0 => 'PHP', 1 => 'JAVA', 2 => 'VB', 3 => "VC");	
			for ($i = 0; $i < count($array); $i++) // 遍历数组中的数据
			{	
				echo $array[$i] . "<br/>"; // 输出遍历结果
			}
		?>
	</body>
</html>
